package com.ctgu.mapper;

import com.ctgu.vo.Score;
import com.ctgu.vo.ScoreKey;

import java.util.List;

public interface ScoreMapper {
    int deleteByPrimaryKey(ScoreKey key);

    int insert(Score record);

    int insertSelective(Score record);

    Score selectByPrimaryKey(ScoreKey key);

    int updateByPrimaryKeySelective(Score record);

    int updateByPrimaryKey(Score record);

    List<Score> selectScoreByStudentId(Integer studentId);

    List<Score> selectStudentInClass(String courseId);
}